LEADTOOLS Forms (Leadtools.Forms.Processing assembly)

Process(RasterImage,IList<PageAlignment>) Method

Show in webframe
Example 





Form image.
A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.
Performs field processing on the form image.
Syntax
public void Process( 
   RasterImage form,
   IList<PageAlignment> formAlignment
)
'Declaration
 
Public Overloads Sub Process( _
   ByVal form As RasterImage, _
   ByVal formAlignment As IList(Of PageAlignment) _
) 
'Usage
 
Dim instance As FormProcessingEngine
Dim form As RasterImage
Dim formAlignment As IList(Of PageAlignment)
 
instance.Process(form, formAlignment)

            

            
public:
void Process( 
   RasterImage^ form,
   IList<PageAlignment^>^ formAlignment
) 

Parameters

form
Form image.
formAlignment
A value that indicates the Form Alignment. It aligns Master Form's fields to this form field. If it is null fields will be aligned depending on the image resolution.
Example
Copy Code  
Imports Leadtools
Imports Leadtools.Barcode
Imports Leadtools.Codecs
Imports Leadtools.Forms
Imports Leadtools.Forms.Ocr
Imports Leadtools.Forms.Processing
Imports Leadtools.Forms.Recognition
Imports Leadtools.Forms.Recognition.Barcode
Imports Leadtools.Forms.Recognition.Ocr

'''This method processes the recognized form.
Public Sub ProcessForm(ByVal processingEngine As FormProcessingEngine, ByVal form As MyForm)
   form.ProcessingPages = CType(form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count), FormPages)
   processingEngine.Pages.Clear()
   processingEngine.Pages.AddRange(form.ProcessingPages)
   processingEngine.Process(form.Image, form.Alignment)
End Sub
using Leadtools;
using Leadtools.Barcode;
using Leadtools.Codecs;
using Leadtools.Forms;
using Leadtools.Forms.Ocr;
using Leadtools.Forms.Processing;
using Leadtools.Forms.Recognition;
using Leadtools.Forms.Recognition.Barcode;
using Leadtools.Forms.Recognition.Ocr;

///This method processes the recognized form.
public void ProcessForm(FormProcessingEngine processingEngine, MyForm form)
{
   form.ProcessingPages = (FormPages)form.Master.ProcessingPages.GetRange(0, form.Master.ProcessingPages.Count);
   processingEngine.Pages.Clear();
   processingEngine.Pages.AddRange(form.ProcessingPages);
   processingEngine.Process(form.Image, form.Alignment);
}
Requirements

Target Platforms

See Also

Reference

FormProcessingEngine Class
FormProcessingEngine Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features